package com.deyuanyun.pic.insp.service.inspresult.impl;

import com.deyuanyun.pic.insp.mapper.InspPipeOtherMapper;
import com.deyuanyun.pic.insp.service.inspresult.InspPipeOtherService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;

/**
 *  其他特征点
 *
 * @author scalpel.王敏
 * @version [v1.0] 创建时间（2016/11/2）
 * @see // 引用的类
 * Method List:
 * 1.----------------
 * 2.----------------
 * History:
 */
@Service
public class InspPipeOtherServiceImpl extends BaseServiceImpl implements InspPipeOtherService {

    @Resource
    InspPipeOtherMapper inspPipeOtherMapper;

    @Override
    public List<HashMap<String,Object>> findPage(HashMap param) {
        handlerParam(param);
        initPage();

        List<HashMap<String,Object>> data = inspPipeOtherMapper.findPage(param);
        setCodeName(data);
        return data;
    }

    @Override
    public List<LinkedHashMap> findExport(HashMap param) {
        handlerParam(param);
        return inspPipeOtherMapper.findExport(param);
    }
}
